| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

LogManager.h
1 // LogManager.h
3 //
5
6 namespace nkScripts
7 {
13 class LogManager final : public nkCommon::SingletonClass<LogManager>
14 {
15 public :
16
17 // Getters
21 nkLog::Logger* getReceiver () const ;
22
23 // Setters
29 void setReceiver (nkLog::Logger* receiver) ;
30
31 // Log
38 void log (nkMemory::StringView message, nkMemory::StringView className) ;
39 } ;
40 }
41
nkScripts
Encompasses all API of component NilkinsScripts.
Definition: Environment.h:7
nkScripts::LogManager::log
void log(nkMemory::StringView message, nkMemory::StringView className)
nkScripts::LogManager::getReceiver
nkLog::Logger * getReceiver() const
nkScripts::LogManager::setReceiver
void setReceiver(nkLog::Logger *receiver)
nkScripts::LogManager
Responsible for logging all messages from the component.
Definition: LogManager.h:14
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkLog::Logger
An interface to make all logging capabilities central.
Definition: Logger.h:15